Skip to content

Conversation

fchirica
Copy link
Contributor

Purpose:

Current Behavior:

New Behavior:

Testing Notes:

@fchirica fchirica added DataLayer Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog labels Jul 16, 2025
@fchirica fchirica marked this pull request as ready for review July 16, 2025 16:17
@fchirica fchirica requested a review from a team as a code owner July 16, 2025 16:17
Copy link
Contributor

@altendky altendky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using emptiness as an indicator of availability has the race hazard that if two context managers get entered at the same time for the same store id then they will both feel that they are in control. with an existence check instead and an immediate population after checking, the race risk is avoided.

@fchirica fchirica mentioned this pull request Jul 24, 2025
Copy link
Contributor

File Coverage Missing Lines
chia/data_layer/data_store.py 95.7% lines 675-676, 687, 1303, 1369, 1438
Total Missing Coverage
206 lines 6 lines 97%

@altendky altendky merged commit 35c03a5 into long_lived/datalayer_merkle_blob Jul 25, 2025
460 of 462 checks passed
@altendky altendky deleted the fc.dl_clean_db branch July 25, 2025 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coverage-diff DataLayer Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants